package com.zhang.servicemap.service.impl;

import com.zhang.internalcommon.dto.ResponseResult;
import com.zhang.servicemap.remote.ServiceClient;
import com.zhang.servicemap.service.ServiceFromMapService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 类功能描述
 *
 * @author Kye
 * @date 2025-04-15
 */
@Service
public class ServiceFromMapServiceImpl implements ServiceFromMapService {
	@Autowired
	private ServiceClient serviceClient;

	@Override
	public ResponseResult add(String name) {
		ResponseResult result = serviceClient.add(name);
		return result;
	}
}
